'use strict';

var React = require('react');
var Router = require('react-router'); 
var RouteHandler = Router.RouteHandler;
var Tab = require('../modules/tab.jsx');
var Search = require('../modules/search.jsx');



var MyViewComponent = React.createClass({
      render: function() {
      var  tabkey =[
          {name:'待解决',to:'MyTabOne' , parent : 'my'},
          {name:'解决中',to:'MyTabTwo' },
          {name:'已解决',to:'MyTabThere'}
      ];
    return (
      /* jshint ignore:start */
            <div className="wall-wrap">
                      <Tab data={tabkey}></Tab>
                      <RouteHandler {...this.props} />
             </div>
      /* jshint ignore:end */
    );
  }
});

module.exports = MyViewComponent;